#include <stdio.h>
void test(int &x)
{
	x = 1000;
	printf("Inside:%d\n",x);
	
} 

int main(){
	int x = 1;
	printf("Begin:%d\n",x);
	test(x);
	printf("End:%d\n",x);
	return 0;
	 
} 
